package com.pactera.asmp.server.service;

import com.pactera.asmp.server.entity.*;
import com.pactera.asmp.server.utils.PageDataResult;

import java.util.List;

public interface ProjectModuleService {

    ResponseResult<ProjectModuleDTO> insert(ProjectModuleDTO record);
    ResponseResult<ProjectModuleDTO> update(ProjectModuleDTO record);
    ResponseResult<PageDataResult> select(ProjectModuleSearch search);
    ResponseResult<List<ProjectModuleDTO>> selectAvailableByProjectId(Integer projectId);

    ResponseResult batch(ProjectModuleBatchDTO batch);

    ResponseResult selectListScripts(ProjectModuleSearch search);

    ResponseResult batchCommon(ProjectModuleCommonBatchDTO batch);

    ResponseResult selectCommon();

    int delete(List<Integer> ids);
}
